package me.pearjelly.pmc.service;

import java.util.List;

import me.pearjelly.pmc.model.PicGroupDoc;
import me.pearjelly.pmc.util.Pagination;

import org.apache.lucene.search.IndexSearcher;
import org.apache.lucene.search.TopDocs;

public interface SimpleSearchService {
	
	TopDocs searchMuti(String item, String cateId, IndexSearcher indexSearcher);
	
	TopDocs searchName(String item, IndexSearcher indexSearcher);
	
	TopDocs searchCateId(String cateId, IndexSearcher indexSearcher);
	
	List<PicGroupDoc> pageSearch(String item, String cateId, Pagination pagination);
}
